// 
// api.js
// 海石后台管理
// 
// 2024/11/18.
// 



import request from "@/request"



/**
 * 电脑软件分页
 * @param params
 * @param data
 * @returns {Promise | Promise<unknown> | *}
 * @constructor
 */
export function GetComputerProgramPageList(params = {}, data = {}) {
    return request({url: '/api/ComputerProgram/GetComputerProgramPageList', method: 'post', params, data})
}

/**
 * 查询程序配置项
 * @param params
 * @returns {Promise | Promise<unknown> | *}
 * @constructor
 */
export function GetPCProgConfig(params) {
    return request({url: "/api/ComputerProgram/GetPCProgConfig", method: "get", params})
}

/**
 * 修改程序配置项
 * @param data
 * @returns {Promise | Promise<unknown> | *}
 * @constructor
 */
export function UpdatePCProgConfig(data) {
    return request({url: "/api/ComputerProgram/UpdatePCProgConfig", method: "post", data})
}